/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package beans;

import java.sql.PreparedStatement;
import java.sql.SQLException;
import javax.ejb.EJBLocalObject;
import javax.naming.NamingException;
import utils.ResultSetWrap;

/**
 *
 * @author KAV
 */
public interface QueryInitializerBeanLocal extends EJBLocalObject {

    public void init(String queryPattern, String jdbcConnection) throws NamingException, SQLException;

    public ResultSetWrap resultQuery() throws SQLException;

    public int resultUpdate() throws SQLException;

    public void setParam(String type, String value, int i) throws SQLException;

}
